/*
 * @# Posts.java 2011-12-19 下午02:57:41
 * 
 * Copyright (C) 2010 - 2011 广州羿安信息科技有限公司
 * Guangzhou ianswer information technology co. ltd.
 * 
 * All rights reserved!
 */
package com.ianswer.px.posts.entity;

/**
 * 博文信息.
 * 
 * @author lunx
 */
public class Post {

	private Long id;

	private Long userId;

	/**
	 * 内容
	 */
	private String content;

	/**
	 * 提到我的
	 */
	private int mentioned;

//	private int comments;

	/**
	 * 创建的时间戳，发博文或转发时无需传
	 */
	private Long createdAt;

	/**
	 * ip地址，无需从界面传
	 */
	private Long ipAddr;
	
	/**
	 * 博文类型:原文：origin 转发：transfer
	 */
	private String postType;
	
	/**
	 * 转发的最原始的博文id
	 */
	private Long tranid;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getUserId() {
		return userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public int getMentioned() {
		return mentioned;
	}

	public void setMentioned(int mentioned) {
		this.mentioned = mentioned;
	}

//	public int getComments() {
//		return comments;
//	}
//
//	public void setComments(int comments) {
//		this.comments = comments;
//	}

	public Long getCreatedAt() {
		return createdAt;
	}

	public void setCreatedAt(Long createdAt) {
		this.createdAt = createdAt;
	}

	public Long getIpAddr() {
		return ipAddr;
	}

	public void setIpAddr(Long ipAddr) {
		this.ipAddr = ipAddr;
	}

	public String getPostType() {
		return postType;
	}

	public void setPostType(String postType) {
		this.postType = postType;
	}

	public Long getTranid() {
		return tranid;
	}

	public void setTranid(Long tranid) {
		this.tranid = tranid;
	}

	
}
